#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int singleNumber(int* nums, int numsSize) 
{
	int ret = 0;
	for (int i = 0; i < numsSize; i++)
	{
		ret = ret ^ nums[i];
	}
	return ret;
}

int main()
{
	int arr[10] = { 9,8,1,9,1,4,8 };
	int ret = singleNumber(arr, 7);
	printf("%d\n", ret);
	return 0;
}